<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:j="http://www.oracle.com/swing"
      xmlns:ui='http://swinghtmltemplate.googlecode.com/ui'>
<head>
    <title>Соединение с хабом</title>
    <ui:loadBundle baseName="ru.dc.gui.swing.ConnectionParamsDlg" var='msg' />
    <meta name='display-as' content="dialog"/>
    <meta name='onclose' content="nothing"/>
    <meta name='size' content="400 300"/>
    <meta name='modal' content="true"/>
    <style type="text/css">
        table.formTable td.label {
            text-align: right;
        }

        .buttonsPanel {
            display: flow;
            text-align: right;
            margin: 6 0;
        }
    </style>
</head>
<body style="display:border; border: empty 12 12 12 12" id='rootPanel'>

    <table cellspacing="6" class="formTable">
        <tr>
            <td class='label'>
                <label for="address">${msg.address}</label>
            </td>
            <td width="fill">
                <input type='text' value="${model.address}" id='address'/>
            </td>
        </tr>
        <tr>
            <td class='label'>
                <label for="encoding">${msg.encoding}</label>
            </td>
            <td>
                <j:combobox selectedElement="${model.encoding}" id="encoding">
                    <j:selectItems value="${encodings}"/>
                </j:combobox>
            </td>
        </tr>
        <tr>
            <td class='label'>
                <label for="nick">${msg.nick}</label>
            </td>
            <td>
                <input id='nick' type='text' value="${model.nick}"/>
            </td>
        </tr>
        <tr>
            <td class='label'>
                <label for="active">${msg.active}</label>
            </td>
            <td>
                <input id='active' type='checkbox' value="${model.active}"/>
            </td>
        </tr>
    </table>


    <div align="bottom" class="buttonsPanel">
        <input type='button' value="${msg.ok}" id='okBtn' onclick="onOK"/>
        <input type='button' value="${msg.cancel}" onclick="onCancel"/>
    </div>

</body>
</html>